package com.butuh.uang.tuh.ang.model;

import android.os.Parcel;
import android.os.Parcelable;

public class HomeListBean implements Parcelable {

    /**
     * bianhao : 321
     * appId : 31
     * enabled : 2
     * sortNum : 12
     * label :
     * productId : 16
     * openMode : 1
     * designation : PRODUCT-16
     * tagline :  Hanya butuh waktu 2 menit untuk bisa mendapatkan pinjaman hingga Rp2.000.000, 90 persen disetujui.   
     * showTheSmallestAmount : 500000
     * showLargestAmountOfMoney : 1000000
     * showMinimumPeriod : 91
     * revealMaximumPeriod : 150
     * tampilkanSimbolSiklus : 1
     * tunjukkanJumlahDefault : 1000000
     * displayTheDefaultCycle : 150
     * displayTheLoanPeriod : 0.0003
     * revealCoverCharge : 0.0200
     * tunjukkanDurasiPinjaman : 91.0000
     * appStoreScore : 1.0000
     * peringkatKeseluruhan : 8.0000
     * skorTingkatKelulusan : 5.0000
     * lendingSpeedScore : 3.0000
     * penilaianBiaya : 7.0000
     * remark :
     * dibuat : 1599058698
     * renovate : 1599058698
     * Identification : https://resource-storage-file.oss-ap-southeast-5.aliyuncs.com/images/601192453.png
     * site : https://app.adjust.com/ybind41
     * pattern : 1
     * bag : com.ajukan.dana0427
     * isfavorited : 0
     */

    private int bianhao;
    private int appId;
    private int enabled;
    private int sortNum;
    private String label;
    private int productId;
    private int openMode;
    private String designation;
    private String tagline;
    private int showTheSmallestAmount;
    private int showLargestAmountOfMoney;
    private int showMinimumPeriod;
    private int revealMaximumPeriod;
    private int tampilkanSimbolSiklus;
    private int tunjukkanJumlahDefault;
    private int displayTheDefaultCycle;
    private String displayTheLoanPeriod;
    private String revealCoverCharge;
    private String tunjukkanDurasiPinjaman;
    private String appStoreScore;
    private String peringkatKeseluruhan;
    private String skorTingkatKelulusan;
    private String lendingSpeedScore;
    private String penilaianBiaya;
    private String remark;
    private long dibuat;
    private long renovate;
    private String Identification;
    private String site;
    private int pattern;
    private String bag;
    private int isfavorited;

    public int getBianhao() {
        return bianhao;
    }

    public void setBianhao(int bianhao) {
        this.bianhao = bianhao;
    }

    public int getAppId() {
        return appId;
    }

    public void setAppId(int appId) {
        this.appId = appId;
    }

    public int getEnabled() {
        return enabled;
    }

    public void setEnabled(int enabled) {
        this.enabled = enabled;
    }

    public int getSortNum() {
        return sortNum;
    }

    public void setSortNum(int sortNum) {
        this.sortNum = sortNum;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public int getProductId() {
        return productId;
    }

    public void setProductId(int productId) {
        this.productId = productId;
    }

    public int getOpenMode() {
        return openMode;
    }

    public void setOpenMode(int openMode) {
        this.openMode = openMode;
    }

    public String getDesignation() {
        return designation;
    }

    public void setDesignation(String designation) {
        this.designation = designation;
    }

    public String getTagline() {
        return tagline;
    }

    public void setTagline(String tagline) {
        this.tagline = tagline;
    }

    public int getShowTheSmallestAmount() {
        return showTheSmallestAmount;
    }

    public void setShowTheSmallestAmount(int showTheSmallestAmount) {
        this.showTheSmallestAmount = showTheSmallestAmount;
    }

    public int getShowLargestAmountOfMoney() {
        return showLargestAmountOfMoney;
    }

    public void setShowLargestAmountOfMoney(int showLargestAmountOfMoney) {
        this.showLargestAmountOfMoney = showLargestAmountOfMoney;
    }

    public int getShowMinimumPeriod() {
        return showMinimumPeriod;
    }

    public void setShowMinimumPeriod(int showMinimumPeriod) {
        this.showMinimumPeriod = showMinimumPeriod;
    }

    public int getRevealMaximumPeriod() {
        return revealMaximumPeriod;
    }

    public void setRevealMaximumPeriod(int revealMaximumPeriod) {
        this.revealMaximumPeriod = revealMaximumPeriod;
    }

    public int getTampilkanSimbolSiklus() {
        return tampilkanSimbolSiklus;
    }

    public void setTampilkanSimbolSiklus(int tampilkanSimbolSiklus) {
        this.tampilkanSimbolSiklus = tampilkanSimbolSiklus;
    }

    public int getTunjukkanJumlahDefault() {
        return tunjukkanJumlahDefault;
    }

    public void setTunjukkanJumlahDefault(int tunjukkanJumlahDefault) {
        this.tunjukkanJumlahDefault = tunjukkanJumlahDefault;
    }

    public int getDisplayTheDefaultCycle() {
        return displayTheDefaultCycle;
    }

    public void setDisplayTheDefaultCycle(int displayTheDefaultCycle) {
        this.displayTheDefaultCycle = displayTheDefaultCycle;
    }

    public String getDisplayTheLoanPeriod() {
        return displayTheLoanPeriod;
    }

    public void setDisplayTheLoanPeriod(String displayTheLoanPeriod) {
        this.displayTheLoanPeriod = displayTheLoanPeriod;
    }

    public String getRevealCoverCharge() {
        return revealCoverCharge;
    }

    public void setRevealCoverCharge(String revealCoverCharge) {
        this.revealCoverCharge = revealCoverCharge;
    }

    public String getTunjukkanDurasiPinjaman() {
        return tunjukkanDurasiPinjaman;
    }

    public void setTunjukkanDurasiPinjaman(String tunjukkanDurasiPinjaman) {
        this.tunjukkanDurasiPinjaman = tunjukkanDurasiPinjaman;
    }

    public String getAppStoreScore() {
        return appStoreScore;
    }

    public void setAppStoreScore(String appStoreScore) {
        this.appStoreScore = appStoreScore;
    }

    public String getPeringkatKeseluruhan() {
        return peringkatKeseluruhan;
    }

    public void setPeringkatKeseluruhan(String peringkatKeseluruhan) {
        this.peringkatKeseluruhan = peringkatKeseluruhan;
    }

    public String getSkorTingkatKelulusan() {
        return skorTingkatKelulusan;
    }

    public void setSkorTingkatKelulusan(String skorTingkatKelulusan) {
        this.skorTingkatKelulusan = skorTingkatKelulusan;
    }

    public String getLendingSpeedScore() {
        return lendingSpeedScore;
    }

    public void setLendingSpeedScore(String lendingSpeedScore) {
        this.lendingSpeedScore = lendingSpeedScore;
    }

    public String getPenilaianBiaya() {
        return penilaianBiaya;
    }

    public void setPenilaianBiaya(String penilaianBiaya) {
        this.penilaianBiaya = penilaianBiaya;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public long getDibuat() {
        return dibuat;
    }

    public void setDibuat(long dibuat) {
        this.dibuat = dibuat;
    }

    public long getRenovate() {
        return renovate;
    }

    public void setRenovate(long renovate) {
        this.renovate = renovate;
    }

    public String getIdentification() {
        return Identification;
    }

    public void setIdentification(String Identification) {
        this.Identification = Identification;
    }

    public String getSite() {
        return site;
    }

    public void setSite(String site) {
        this.site = site;
    }

    public int getPattern() {
        return pattern;
    }

    public void setPattern(int pattern) {
        this.pattern = pattern;
    }

    public String getBag() {
        return bag;
    }

    public void setBag(String bag) {
        this.bag = bag;
    }

    public int getIsfavorited() {
        return isfavorited;
    }

    public void setIsfavorited(int isfavorited) {
        this.isfavorited = isfavorited;
    }

    @Override
    public String toString() {
        return "HomeListBean{" +
                "bianhao=" + bianhao +
                ", appId=" + appId +
                ", enabled=" + enabled +
                ", sortNum=" + sortNum +
                ", label='" + label + '\'' +
                ", productId=" + productId +
                ", openMode=" + openMode +
                ", designation='" + designation + '\'' +
                ", tagline='" + tagline + '\'' +
                ", showTheSmallestAmount=" + showTheSmallestAmount +
                ", showLargestAmountOfMoney=" + showLargestAmountOfMoney +
                ", showMinimumPeriod=" + showMinimumPeriod +
                ", revealMaximumPeriod=" + revealMaximumPeriod +
                ", tampilkanSimbolSiklus=" + tampilkanSimbolSiklus +
                ", tunjukkanJumlahDefault=" + tunjukkanJumlahDefault +
                ", displayTheDefaultCycle=" + displayTheDefaultCycle +
                ", displayTheLoanPeriod='" + displayTheLoanPeriod + '\'' +
                ", revealCoverCharge='" + revealCoverCharge + '\'' +
                ", tunjukkanDurasiPinjaman='" + tunjukkanDurasiPinjaman + '\'' +
                ", appStoreScore='" + appStoreScore + '\'' +
                ", peringkatKeseluruhan='" + peringkatKeseluruhan + '\'' +
                ", skorTingkatKelulusan='" + skorTingkatKelulusan + '\'' +
                ", lendingSpeedScore='" + lendingSpeedScore + '\'' +
                ", penilaianBiaya='" + penilaianBiaya + '\'' +
                ", remark='" + remark + '\'' +
                ", dibuat=" + dibuat +
                ", renovate=" + renovate +
                ", Identification='" + Identification + '\'' +
                ", site='" + site + '\'' +
                ", pattern=" + pattern +
                ", bag='" + bag + '\'' +
                ", isfavorited=" + isfavorited +
                '}';
    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(this.bianhao);
        dest.writeInt(this.appId);
        dest.writeInt(this.enabled);
        dest.writeInt(this.sortNum);
        dest.writeString(this.label);
        dest.writeInt(this.productId);
        dest.writeInt(this.openMode);
        dest.writeString(this.designation);
        dest.writeString(this.tagline);
        dest.writeInt(this.showTheSmallestAmount);
        dest.writeInt(this.showLargestAmountOfMoney);
        dest.writeInt(this.showMinimumPeriod);
        dest.writeInt(this.revealMaximumPeriod);
        dest.writeInt(this.tampilkanSimbolSiklus);
        dest.writeInt(this.tunjukkanJumlahDefault);
        dest.writeInt(this.displayTheDefaultCycle);
        dest.writeString(this.displayTheLoanPeriod);
        dest.writeString(this.revealCoverCharge);
        dest.writeString(this.tunjukkanDurasiPinjaman);
        dest.writeString(this.appStoreScore);
        dest.writeString(this.peringkatKeseluruhan);
        dest.writeString(this.skorTingkatKelulusan);
        dest.writeString(this.lendingSpeedScore);
        dest.writeString(this.penilaianBiaya);
        dest.writeString(this.remark);
        dest.writeLong(this.dibuat);
        dest.writeLong(this.renovate);
        dest.writeString(this.Identification);
        dest.writeString(this.site);
        dest.writeInt(this.pattern);
        dest.writeString(this.bag);
        dest.writeInt(this.isfavorited);
    }

    public HomeListBean() {
    }

    protected HomeListBean(Parcel in) {
        this.bianhao = in.readInt();
        this.appId = in.readInt();
        this.enabled = in.readInt();
        this.sortNum = in.readInt();
        this.label = in.readString();
        this.productId = in.readInt();
        this.openMode = in.readInt();
        this.designation = in.readString();
        this.tagline = in.readString();
        this.showTheSmallestAmount = in.readInt();
        this.showLargestAmountOfMoney = in.readInt();
        this.showMinimumPeriod = in.readInt();
        this.revealMaximumPeriod = in.readInt();
        this.tampilkanSimbolSiklus = in.readInt();
        this.tunjukkanJumlahDefault = in.readInt();
        this.displayTheDefaultCycle = in.readInt();
        this.displayTheLoanPeriod = in.readString();
        this.revealCoverCharge = in.readString();
        this.tunjukkanDurasiPinjaman = in.readString();
        this.appStoreScore = in.readString();
        this.peringkatKeseluruhan = in.readString();
        this.skorTingkatKelulusan = in.readString();
        this.lendingSpeedScore = in.readString();
        this.penilaianBiaya = in.readString();
        this.remark = in.readString();
        this.dibuat = in.readInt();
        this.renovate = in.readInt();
        this.Identification = in.readString();
        this.site = in.readString();
        this.pattern = in.readInt();
        this.bag = in.readString();
        this.isfavorited = in.readInt();
    }

    public static final Parcelable.Creator<HomeListBean> CREATOR = new Parcelable.Creator<HomeListBean>() {
        @Override
        public HomeListBean createFromParcel(Parcel source) {
            return new HomeListBean(source);
        }

        @Override
        public HomeListBean[] newArray(int size) {
            return new HomeListBean[size];
        }
    };
}
